package com.heima;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import tk.mybatis.spring.annotation.MapperScan;

//springboot的启动类
@SpringBootApplication
//扫描mybatis所有业务mapper接口
//@MapperScan("com.heima.mapper")
//通用Mapper的注解
@MapperScan("com.heima.mapper")
public class Application

{
    public static void main(String[] args)
    {
        SpringApplication.run(Application.class,args);
    }
}
